/*
 * @Author: Development
 * @Date:   2020-08-24 16:05:48
 * @Last Modified by:   Development
 * @Last Modified time: 2020-08-24 16:05:48
 */
import { IReqApi, IResArray } from '@/api/core'
import { ICoverFile } from '../common'

/** NOTE 老接口 */
export const API_GET_HOME_HOT_PRODUCT_ARR: IReqApi = {
  title: '首页热推商品',
  method: 'GET',
  path: 'homePage/getHotProduct',
  prefix: 'api',
  version: 'applets',
}

// req
export interface IReqGetHomeHotProductArr {}

// res
export interface IResGetHomeHotProductArr extends IResArray<IResGetHomeHotProductArrItem> {}

// resItem
export interface IResGetHomeHotProductArrItem {
  sn: string
  spuSn: string
  title: string
  descriptions: string
  price: number
  priceMarket: number
  unitOfMeasurement: string
  coverFile: ICoverFile
}
